package com.xqboss.apps.dto.equipment;


import java.util.List;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 装备-熔炼模版
 *
 * @author makejava
 * @since 2024-03-01 14:41:23
 */
@Data
@ApiModel("装备-熔炼模版保存参数")
public class EquipmentSmeltTemplateSaveDto {


    @ApiModelProperty("id，修改必传")
    private Long id;

    @ApiModelProperty("名称")
    @NotBlank(message = "请输入名称")
    private String name;

    @ApiModelProperty("等待时间(分)")
    @NotNull(message = "请输入等待时间")
    @Min(0)
    private Integer waitingTime;

    @ApiModelProperty("加速消耗热豆数(每分钟)")
    @NotNull(message = "请输入加速消耗热豆数")
    @Min(0)
    private Double fastCostIntegral;


    @ApiModelProperty("基础产出")
    @NotNull(message = "请输入基础产出")
    @Valid
    private List<EquipmentSmeltTemplateProduceBasicDto> basicList;

    @ApiModelProperty("保底产出")
    @NotNull(message = "请输入保底产出")
    @Valid
    private List<EquipmentSmeltTemplateProduceWorstDto> worstList;

    @ApiModelProperty("幸运产出")
    @Valid
    private List<EquipmentSmeltTemplateProduceLuckyDto> luckyList;


}
